/****************************************************************
 I/O subsystem
****************************************************************/
#include "includes.h"
#include <Drivers/block/nand/nand_drv.h> //added by yangbin
#include "os/ioapi/libblock/include/ramdisk.h"
avfs_driver_address_table Device_drivers[] = {
   	     //added by yangbin
      NAND_DEVICE_ENTRY,
      RAMDISK_DRIVER_TABLE_ENTRY
};




#define CONFIGURE_NUMBER_OF_DRIVERS \
  ((sizeof(Device_drivers) / sizeof(avfs_driver_address_table)))

#ifndef CONFIGURE_MAXIMUM_DRIVERS
#define CONFIGURE_MAXIMUM_DRIVERS CONFIGURE_NUMBER_OF_DRIVERS
#endif

/*
 *  Default the number of devices per device driver.  This value may be
 *  overridden by the user.
 */

#ifndef CONFIGURE_MAXIMUM_DEVICES
#define CONFIGURE_MAXIMUM_DEVICES   20
#endif

avfs_configuration_table IO_CONFIGURATION = 
{
  CONFIGURE_MAXIMUM_DEVICES,
  CONFIGURE_MAXIMUM_DRIVERS,
  CONFIGURE_NUMBER_OF_DRIVERS,               /* number of device drivers */
  Device_drivers                    /* pointer to driver table */
};	
